<?php
$loader->requireOnce('includes/EwhValuatePrice/ValuatePriceByLatestPrice.class.php');
$loader->requireOnce('includes/EwhValuatePrice/ValuatePricesByImportedPrice.class.php');
$loader->requireOnce('includes/EwhValuatePrice/ValuatedPricesResult.class.php');
/**
 * engine for valuating prices
 * @package modules.dept_pharmacy.includes.EwhValuatePrice
 * @author viethd
 * @version $Id$
 * @copyright 2009 LHV Company
 */
class EwhValuatedEngine {
	private $logger ;
		
	
	public static function createValuatedMethod($enumValuatePriceMethod) {
	    switch ($enumValuatePriceMethod) {
	    	case EnumerationConstant::PHA_VALUATE_METHOD_LASTED_PRICE_KEY :
	    	  return new ValuatePriceByLatestPrice();
	    	case EnumerationConstant::PHA_VALUATE_METHOD_IMPORTED_PRICE_KEY :
              return new ValuatePricesByImportedPrice();
	    	default:
	    		;
	    	break;
	    }
	    
	}
	
}
?>